FROM registry.yuyou100.com/java:8u171

LABEL MAINTAINER=wens

WORKDIR /home

ADD target/tas-job-1.0-SNAPSHOT.jar /home

ENV JAVA_OPT="-Xms512m -Xmx512m"
ENV PROFLES=test

ENTRYPOINT [ "/bin/bash", "-c", "java ${JAVA_OPT} -jar tas-job-1.0-SNAPSHOT.jar --spring.profiles.active=${PROFLES}" ]

